<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>新闻管理-大爱优能教育</title>
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>/jquery-easyui-1.3.6/themes/default/easyui.css">
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>/jquery-easyui-1.3.6/themes/icon.css" />
		<script type="text/javascript"
			src="<%=basePath%>/jquery-easyui-1.3.6/jquery.min.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>/jquery-easyui-1.3.6/jquery.easyui.min.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>/jquery-easyui-1.3.6/locale/easyui-lang-zh_CN.js"></script>

		<script type="text/javascript" src="<%=basePath%>/UEditor/ueditor.config.js"></script>
		<script type="text/javascript" src="<%=basePath%>/UEditor/ueditor.all.js"></script>
		<script type="text/javascript" src="<%=basePath%>/back/js/news.js"></script>

  </head>
  
  <body style="margin: 0px">
		<div id="tabs" class="easyui-tabs"
			style="width: 1140px;">
			<div title="新闻列表" style="display: block;">
				<table id="tt"  class="easyui-datagrid">
					<thead>
						<tr>
							<th field="news_id" width="65">
								新闻编号
							</th>
							<th field="title" width="500">
								新闻标题
							</th>
							<th field="author" width="200">
								作者
							</th>
							<th field="create_time" width="200">
								创建时间
							</th>
							<th field="create_user" width="100">
								创建人
							</th>

						</tr>
					</thead>
				</table>
			</div>
		</div>

		<div class="easyui-window" id="dlg"
			data-options="title:'新闻信息-修改',closed:true, collapsible:false, minimizable:false, maximizable:false, closable:false"
			style="overflow: auto;padding-left:15px;  width: 1100px; height: 498px;">
			<form id="fm" method="post"
				style="width: 1050px;  background-color: #eee">
				<!--
				<table>
					<tr>
						<td>
							<label>
								标题：
							</label>
						</td>
						<td>
							<input id="title" name="name" class="easyui-validatebox"
								data-options="required:true" />
							<input id="id" name="news_id" type="hidden" />
						</td>
					</tr>
					<tr>
						<td>
							<label>
								作者：
							</label>
						</td>
						<td>
							<input id="author" name="name" class="easyui-validatebox"
								data-options="required:true" />
						</td>
					</tr>
					<tr>
						<td>
							<label>
								新闻内容：
							</label>
						</td>
						<td>
							<div id="container" name="content">
					</div>
						</td>
					</tr>
				</table>-->
				
				<div class="fitem" style="float: left">
					<label>
						标题：
					</label>
					<input id="title" name="name" class="easyui-validatebox"
								data-options="required:true" />
							<input id="id" name="news_id" type="hidden" />
				</div>
				<div class="fitem">
					<label>
							作者：
					</label>
					<input id="author" name="name" class="easyui-validatebox"
								data-options="required:true" />
				</div>
				<div class="fitem">
					<label>
							新闻内容：
					</label>
					<div id="container" name="content"></div>
				</div>
			</form>
			<div id="dlg-buttons">
				<a href="#" class="easyui-linkbutton"
					data-options="iconCls:'icon-ok'" onclick="save()">保存</a>
				<a href="#" class="easyui-linkbutton"
					data-options="iconCls:'icon-cancel'"
					onclick="javascript:$('#dlg').dialog('close')">关闭</a>
			</div>
		</div>
  </body>
</html>
